/**
 * Copyright (c) 2009  Collaborative Development Group, C.S. Dept., University of Bari
 *
 * All rights reserved. This program and the accompanying materials are made available under
 * the terms of the Eclipse Public License v1.0  which accompanies this distribution, and is 
 * available at http://www.eclipse.org/legal/epl-v10.html
 */
package it.uniba.di.cdg.penelope.ui.lnf;

import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.services.IDisposable;

import com.google.inject.ImplementedBy;

/**
 * 
 */
@ImplementedBy( FormToolkitWidgetFactory.class )
public interface IWidgetFactory extends IDisposable {
	Color getCompositeBackgroundColor();

	/**
	 * Apply the factory's background color to the specified {@link Composite} widget.
	 * @param composite
	 */
	void applyBackgroundColor( Composite composite );
	
	Composite newForm( Composite parent );
}
